package com.ruoyi.jiayou.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 加油站照片管理对象 cf_petrol_image
 * 
 * @author zhangbiao
 * @date 2024-06-06
 */
public class CfPetrolImage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 加油站id */
    @Excel(name = "加油站id")
    private Long petrolId;

    /** 照片 */
    @Excel(name = "照片")
    private String image;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPetrolId(Long petrolId) 
    {
        this.petrolId = petrolId;
    }

    public Long getPetrolId() 
    {
        return petrolId;
    }
    public void setImage(String image) 
    {
        this.image = image;
    }

    public String getImage() 
    {
        return image;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("petrolId", getPetrolId())
            .append("image", getImage())
            .toString();
    }
}
